﻿using System;

namespace Unknown.Example.Entity.DataStructure
{
	/// <summary>
	/// 树结构实体类
	/// </summary>
	public class Tree
	{
		/// <summary>
		/// 标识
		/// </summary>
		public string Pkid { get; set; }
		/// <summary>
		/// 操作人员
		/// </summary>
		public string InsertOperator { get; set; }
		/// <summary>
		/// 操作时间
		/// </summary>
		public DateTime? InsertTime { get; set; }
		/// <summary>
		/// 操作人员
		/// </summary>
		public string UpdateOperator { get; set; }
		/// <summary>
		/// 操作时间
		/// </summary>
		public DateTime? UpdateTime { get; set; }
		/// <summary>
		/// 有效性
		/// </summary>
		public int Validity { get; set; }
		/// <summary>
		/// 数字次序
		/// </summary>
		public long? IntegerSerial { get; set; }
		/// <summary>
		/// 文本次序
		/// </summary>
		public string TextSerial { get; set; }
		/// <summary>
		/// 备注
		/// </summary>
		public string Remark { get; set; }
		/// <summary>
		/// 根（Root.）
		/// </summary>
		public string Root { get; set; }
		/// <summary>
		/// 自身（Self.）
		/// </summary>
		public string Self { get; set; }
		/// <summary>
		/// 名称（Root.Self.）
		/// </summary>
		public string Name { get; set; }

		/// <summary>
		/// 构造函数
		/// </summary>
		public Tree()
		{
		}

		/// <summary>
		/// 构造函数
		/// </summary>
		/// <param name="pkid">标识</param>
		/// <param name="insertOperator">操作人员</param>
		/// <param name="insertTime">操作时间</param>
		/// <param name="updateOperator">操作人员</param>
		/// <param name="updateTime">操作时间</param>
		/// <param name="validity">有效性</param>
		/// <param name="integerSerial">数字次序</param>
		/// <param name="textSerial">文本次序</param>
		/// <param name="remark">备注</param>
		/// <param name="root">根（Root.）</param>
		/// <param name="self">自身（Self.）</param>
		/// <param name="name">名称（Root.Self.）</param>
		public Tree(string pkid, string insertOperator, DateTime? insertTime, string updateOperator, DateTime? updateTime, int validity, long? integerSerial, string textSerial, string remark, string root, string self, string name)
		{
			this.Pkid = pkid;
			this.InsertOperator = insertOperator;
			this.InsertTime = insertTime;
			this.UpdateOperator = updateOperator;
			this.UpdateTime = updateTime;
			this.Validity = validity;
			this.IntegerSerial = integerSerial;
			this.TextSerial = textSerial;
			this.Remark = remark;
			this.Root = root;
			this.Self = self;
			this.Name = name;
		}
	}
}
